<template>
	<view>
		<view style="width: 80%;margin: 40rpx auto;border-radius: 30rpx;" class="bg-white text-center col-1">
			<view>
				 <image src="https://fziot.zheyun.top:9021/static/image/regfactory/regup.png" style="object-fit: none;width:100%;"> </image>
			</view>
			
			<view class=" text-xl">
				<text class="text-df">您目前没有任何工厂权限，是否注册工厂?</text>
			</view>
			
			<view class="padding flex flex-direction">
				<button class="cu-btn bg-blue round lg" @click="determine()">是</button>
				<button class="cu-btn line-grey round margin-tb-sm lg" @click="cancel()">否</button>
			</view>

		</view>
	</view>
</template>

<script>
	export default {
	  data() {
	    return {

	    }
	  },
	  created() {
	  },
	  methods:{
		  determine(){
			  this.$tab.navigateTo('/pagesA/factory/register')
		  },
		  cancel(){
			  this.$tab.reLaunch('/pages/login')
		  }
	  },
	}
</script>

<style>
	page {
	  display: flex;
	  flex-direction: column;
	  box-sizing: border-box;
	  background-image: url('http://fziot.zheyun.top:9021/static/image/backreg.jpg');
	  background-repeat:no-repeat;
	  min-height: 100%;
	  background-size: cover;
	  height: auto;
	}
</style>

<style scoped lang="scss">
	.button-group{
		width: 80%;
		margin: 0 auto;
	}
	// uni-image{
	// 	height: 150px
	// }


	
</style>